package com.tracy.life.bean;

import java.util.List;

/**
 * Created by ZJS on 2016/7/20.
 */
public class GoodsBean {

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * icon_url : http://7xr1wo.com2.z0.glb.qiniucdn.com/image/160307/2k4uhkjes.png-w720
         * id : 1
         * name : 家居
         * order : 10
         * status : 0
         * subcategories : [{"id":3,"items_count":23,"name":"坐垫/靠枕/抱枕","order":20,"parent_id":1,"status":0},{"id":4,"items_count":112,"name":"家居纺饰","order":19,"parent_id":1,"status":0},{"id":5,"items_count":28,"name":"收纳整理","order":18,"parent_id":1,"status":0},{"id":6,"items_count":152,"name":"餐桌杯盘","order":17,"parent_id":1,"status":0},{"id":7,"items_count":155,"name":"美丽厨房","order":16,"parent_id":1,"status":0},{"id":8,"items_count":26,"name":"钟表摆件","order":15,"parent_id":1,"status":0},{"id":9,"items_count":13,"name":"浴室用品","order":14,"parent_id":1,"status":0},{"id":10,"items_count":113,"name":"各式灯具","order":13,"parent_id":1,"status":0},{"id":2,"items_count":3,"name":"毛巾/手帕 ","order":12,"parent_id":1,"status":0},{"id":11,"items_count":3,"name":"香薰用品/净化器","order":11,"parent_id":1,"status":0},{"id":1,"items_count":32,"name":"伞/雨具","order":10,"parent_id":1,"status":0},{"id":12,"items_count":191,"name":"家具","order":9,"parent_id":1,"status":0},{"id":13,"items_count":51,"name":"家电","order":8,"parent_id":1,"status":0},{"id":97,"items_count":56,"name":"洗护清洁","order":7,"parent_id":1,"status":0},{"id":100,"items_count":98,"name":"小工具","order":6,"parent_id":1,"status":0}]
         */

        private List<CategoriesBean> categories;

        public List<CategoriesBean> getCategories() {
            return categories;
        }

        public void setCategories(List<CategoriesBean> categories) {
            this.categories = categories;
        }

        public static class CategoriesBean {
            private String icon_url;
            private int id;
            /**
             * id : 3
             * items_count : 23
             * name : 坐垫/靠枕/抱枕
             * order : 20
             * parent_id : 1
             * status : 0
             */

            private List<SubcategoriesBean> subcategories;

            public String getIcon_url() {
                return icon_url;
            }

            public void setIcon_url(String icon_url) {
                this.icon_url = icon_url;
            }
            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public List<SubcategoriesBean> getSubcategories() {
                return subcategories;
            }

            public void setSubcategories(List<SubcategoriesBean> subcategories) {
                this.subcategories = subcategories;
            }

            public static class SubcategoriesBean {
                private String name;
                private int id;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }
        }
    }
}
